﻿using System;
namespace Model.Sys
{
    /// <summary>
    /// vSys_Menu:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class MenuModel
    {
        public MenuModel()
        { }
        #region Model
        private int _id;
        private int _parentid = 0;
        private string _menuname = "";
        private string _menuimg;
        private string _menuurl = "";
        private bool _statusid = false;
        private string _remark = "";
        private int? _sequence = 99999;
        private int _createloginid;
        private string _createloginname;
        private DateTime _createdate = DateTime.Now;
        private int _changeloginid;
        private string _changeloginname;
        private DateTime _changedate;
        private int _menutype;
        
        /// <summary>
        /// 菜单Id
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 父Id
        /// </summary>
        public int ParentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName
        {
            set { _menuname = value; }
            get { return _menuname; }
        }
        /// <summary>
        /// 菜单图片
        /// </summary>
        public string MenuImg
        {
            set { _menuimg = value; }
            get { return _menuimg; }
        }
        /// <summary>
        /// 菜单URL
        /// </summary>
        public string MenuUrl
        {
            set { _menuurl = value; }
            get { return _menuurl; }
        }
        /// <summary>
        /// 菜单状态：1启用0禁用
        /// </summary>
        public bool StatusID
        {
            set { _statusid = value; }
            get { return _statusid; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int? Sequence
        {
            set { _sequence = value; }
            get { return _sequence; }
        }
        /// <summary>
        /// 创建登录ID
        /// </summary>
        public int CreateLoginID
        {
            set { _createloginid = value; }
            get { return _createloginid; }
        }
        /// <summary>
        /// 创建登录名
        /// </summary>
        public string CreateLoginName
        {
            set { _createloginname = value; }
            get { return _createloginname; }
        }
        /// <summary>
        /// 创建 时间
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 修改登录ID
        /// </summary>
        public int ChangeLoginID
        {
            set { _changeloginid = value; }
            get { return _changeloginid; }
        }
        /// <summary>
        /// 修改登录名
        /// </summary>
        public string ChangeLoginName
        {
            set { _changeloginname = value; }
            get { return _changeloginname; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ChangeDate
        {
            set { _changedate = value; }
            get { return _changedate; }
        }
        /// <summary>
        /// 菜单类型（1.菜单 2.按钮）
        /// </summary>
        public int MenuType
        {
            set { _menutype = value; }
            get { return _menutype; }
        }
        #endregion Model

        

    }
}

